package com.kkk.shop.orders.pojo;

import java.util.Date;

import com.kkk.shop.goods.pojo.AGoods;

/**
 * 订单POJO
 * 
 * @author wangshSxt
 *
 */
public class AOrdersGoods
{
	private int id;
	private int ordersId;
	private int goodsId;
	private String name;
	private double price;
	private double weight;
	private int num;
	private double totalPrice;
	private byte status;
	private Date createTime;
	private Date updateTime;
	
	/* 关联对象 */
	private AOrders orders ; 
	private AGoods goods ; 

	public int getId()
	{
		return id;
	}

	public void setId(int id)
	{
		this.id = id;
	}

	public int getOrdersId()
	{
		return ordersId;
	}

	public void setOrdersId(int ordersId)
	{
		this.ordersId = ordersId;
	}

	public int getGoodsId()
	{
		return goodsId;
	}

	public void setGoodsId(int goodsId)
	{
		this.goodsId = goodsId;
	}

	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public double getPrice()
	{
		return price;
	}

	public void setPrice(double price)
	{
		this.price = price;
	}

	public double getWeight()
	{
		return weight;
	}

	public void setWeight(double weight)
	{
		this.weight = weight;
	}

	public int getNum()
	{
		return num;
	}

	public void setNum(int num)
	{
		this.num = num;
	}

	public double getTotalPrice()
	{
		return totalPrice;
	}

	public void setTotalPrice(double totalPrice)
	{
		this.totalPrice = totalPrice;
	}

	public byte getStatus()
	{
		return status;
	}

	public void setStatus(byte status)
	{
		this.status = status;
	}

	public Date getCreateTime()
	{
		return createTime;
	}

	public void setCreateTime(Date createTime)
	{
		this.createTime = createTime;
	}

	public Date getUpdateTime()
	{
		return updateTime;
	}

	public void setUpdateTime(Date updateTime)
	{
		this.updateTime = updateTime;
	}

	public AOrders getOrders()
	{
		return orders;
	}

	public void setOrders(AOrders orders)
	{
		this.orders = orders;
	}

	public AGoods getGoods()
	{
		return goods;
	}

	public void setGoods(AGoods goods)
	{
		this.goods = goods;
	}

}
